package com.richpay.basejava.base15;

public class ExceptionTest {
    public static void main(String[] args) {
        Teacher t = new Teacher("王老师");

        try {
            t.preFlect();
        } catch (NoPlanException e) {
            System.out.println(e.getMessage());
        }
    }
}
